package com.hsoft.zhxy.app.xtgl_02_01.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hsoft.zhxy.app.common.model.entity.JcggDlrz;
import com.hsoft.zhxy.app.xtgl_02_01.model.vo.DlrzVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

 /**
 * All rights Reserved, Designed By 哈尔滨工业大学软件工程股份有限公司
 * 
 * @Title: 登录日志 DAO层接口
 * @Package 
 * @Description: 
 * @author: system
 * @date: 2020-10-23
 */
@Mapper
@Repository
public interface JcggDlrzMapper extends BaseMapper<JcggDlrz> {

     @Select("<script> " +
             "   select * from jcgg_dlrz" +
             "  ${ew.customSqlSegment} " +    //获取条件构造器中拼接好的sql
             "</script>")
     IPage<JcggDlrz> findDlrzListByPage(Page<DlrzVO> pageObj, @Param("ew") QueryWrapper<DlrzVO> queryWrapper);
 }